package com.aaa.service.impl;

import com.aaa.entity.Shopping;
import com.aaa.mapper.ShoppingMapper;
import com.aaa.service.ShoppingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ShoppingServiceImpl extends ServiceImpl<ShoppingMapper, Shopping> implements ShoppingService {

    @Resource
    ShoppingMapper shoppingMapper;

    @Override
    public int Sadd(Shopping shopping) {
        return shoppingMapper.Sadd(shopping);
    }
}
